package com.bdqn.service.impl;

import com.bdqn.mapper.SysRoleMapper;
import com.bdqn.pojo.SysRole;
import com.bdqn.service.SysRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 角色业务逻辑实现类
 *
 * @author LILIBO
 * @since 2024/7/30
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Resource
    private SysRoleMapper sysRoleMapper;

    /**
     * 查询角色列表
     *
     * @return
     */
    @Override
    public List<SysRole> list() {
        return sysRoleMapper.list();
    }

}
